package com.makelove.bar.service;

import com.makelove.bar.entity.User;
import com.makelove.bar.util.ViewObject;

import java.util.List;

/**
 * @program: bar
 * @description:
 * @author: stl
 * @create: 2021-04-28 17:30
 **/
public interface UserService {
    //登录
    User Login(User user);
    //分页查询
    ViewObject<User> getAllUser(Integer page, Integer limit);
    //添加
    Integer addUser(User user);
    //修改
    Integer updUser(User user);
    //删除
    Integer del(Integer id);

}